package com.xzw.test.springcloud.alibaba.service.impl;

import com.xzw.test.springcloud.alibaba.feign.EchoService;


public class EchoServiceFallback  implements EchoService{

    @Override
    public String echo(String str) {

         return "echo fallback";
    }

    /*@Bean
    @SentinelRestTemplate(blockHandler = "handleException", blockHandlerClass = ExceptionUtil.class)
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }*/
}
